<?php /* Smarty version 2.6.26, created on 2014-02-21 15:51:45
         compiled from default/public/member_mycommend.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="view/default/style/basic.css" />
<link type="text/css" rel="stylesheet" href="view/default/style/member.css" />
<script type="text/javascript" src="view/default/js/ajax.js"></script>
<script type="text/javascript" src="view/default/js/member.js"></script>
<title>在线商城会员中心</title>
</head>
<body>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "default/public/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="sait">
    当前位置：<a href="./">首页</a> &gt; 我的评价
</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "default/public/member_sidebar.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="main">
    <h2>我的评价</h2>
    <div class="mycommend">
        <?php $_from = $this->_tpl_vars['myCommend']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
        <div class="mycommend">
            <p><img src="<?php echo $this->_tpl_vars['value']->thumbnail; ?>
" /></p>
            <p><a href="?a=details&navid=<?php echo $this->_tpl_vars['value']->nav; ?>
&goodsid=<?php echo $this->_tpl_vars['value']->goodsid; ?>
" target="_blank"><?php echo $this->_tpl_vars['value']->name; ?>
</a></p>
            <p><em><?php echo $this->_tpl_vars['value']->date; ?>
</em><?php echo $this->_tpl_vars['value']->content; ?>
</p>
            <p class="attr"><?php echo $this->_tpl_vars['value']->attr; ?>
</p>
            <p>评分：
             <?php if ($this->_tpl_vars['value']->star == 5): ?><span class="star">★★★★★</span><?php endif; ?>
             <?php if ($this->_tpl_vars['value']->star == 4): ?><span class="star">★★★★</span><?php endif; ?>
             <?php if ($this->_tpl_vars['value']->star == 3): ?><span class="star">★★★</span><?php endif; ?>
             <?php if ($this->_tpl_vars['value']->star == 2): ?><span class="star">★★</span><?php endif; ?>
             <?php if ($this->_tpl_vars['value']->star == 1): ?><span class="star">★</span><?php endif; ?>
            </p>
            <p>
                <?php if ($this->_tpl_vars['value']->re_content): ?>
                <span style="color:red">商家回复：<?php echo $this->_tpl_vars['value']->re_content; ?>
</span>
                <?php endif; ?>
            </p>
        </div>
        <?php endforeach; endif; unset($_from); ?>
    </div>
    <div id="page"><?php echo $this->_tpl_vars['page']; ?>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'default/public/footer.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</html>